﻿using System;
using System.Collections.Generic;

namespace Core.DataAccess.Model.Projects
{
    /// <summary>
    /// 用户购买的APi
    /// </summary>
    public partial class ProjectUserApi
    {
        public int Id { get; set; }

        /// <summary>
        /// 购买者
        /// </summary>
        public int UserId { get; set; }


        /// <summary>
        /// Project Key
        /// </summary>
        public int? ProjectId { get; set; }


        /// <summary>
        /// 服务ID
        /// </summary>
        public int? ApiKey { get; set; }

        /// <summary>
        /// 结余数量
        /// </summary>
        public int? ApiCount { get; set; }

        /// <summary>
        /// 冻结数量
        /// </summary>
        public int? ApiFreezeCount { get; set; }

        /// <summary>
        /// 服务到期时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 服务创建时间
        /// </summary>
        public DateTime? AddTime { get; set; }
    }
}
